import axios from '@/utils/request'

export function getNavList() {
  return axios.get('/home/category/head')
}
export function getBannerList(distributionSite = '1') {
  return axios({
    url: '/home/banner',
    method: 'get',
    params: { distributionSite },
  })
}
export function getNewList() {
  return axios.get('/home/new')
}
export function getHotList() {
  return axios.get('/home/hot')
}
export function getGoodsList() {
  return axios.get('/home/goods')
}
